<template>
<div class="video-wrap">
    <div class="fixed header">
        <div>
            <van-icon name="arrow-left" size="24px" color="white" />
        </div>
        <div>
            <van-button type="warning" size="small" round> 购买本课 </van-button> &nbsp;
            <van-icon style="vertical-align:middle" name="more-o" size="24px" color="white" />
        </div>
    </div>
    <div class="video">

    </div>
    <div class="plank video-info">
      <div class="plank-header">
        <div class="text-orange">
          <span class="text14">￥</span>
          <span class="text22"> 9.99 </span>
          <span class="bg-orange text-white text10" style="padding: .1rem .25rem" >抢购价</span>
          <p class="text12" style="margin: 0;line-height: 16px">
            <span style="color: #666"> 价格 </span> 
            <del style="color: #666"> 50.20 </del>
          </p>
        </div>
        <div>
          <van-icon style="vertical-align:middle" name="share" size="1.5rem" />
          <p class="text12" style="margin: 0;line-height: 16px">分享</p>
          </div>
      </div>
      <div class="plank-container">
        <p class="text-dn-two text16">标题标题标题标题标</p>
      </div>
      <div class="plank-footer">
        <span>xxx次观看</span>
        <span class="tag text10">心灵鸡汤</span>
        <span class="tag text10">课程</span>
      </div>
    </div>
    <div class="video-tool">
      <div class="text-center">
        <van-icon class-prefix="iconfont " size="1.5rem" name=" icon-31dianzan" />
        <p>99</p>
      </div>
      <div class="text-center">
         <van-icon class-prefix="iconfont" size="1.5rem" name=" icon-fenlei" />
        <p>99</p>
      </div>
      <div class="text-center">
         <van-icon class-prefix="iconfont" size="1.5rem" name=" icon-31pinglun" />
        <p>99</p>
      </div>
      <div class="text-center">
         <van-icon class-prefix="iconfont" size="1.5rem" name=" icon-31fenxiang" />
        <p>99</p>
      </div>
    </div>
    <div class="plank">
      <div class="plank-header">
        <span>猜你喜欢</span>
      </div>
      <div class="like">
        <div>
          <img src="https://img.yzcdn.cn/vant/cat.jpeg">
        </div>
        <div class="info">
          <div></div>
          <div></div>
        </div>
      </div>
    </div>
</div>
</template>

<script>
export default {
    name: 'Video',
    data(){
      return {

      }
    },
    methods:{

    }
}
</script>

<style lang="less" scoped>
.video-wrap {
    .header {
        top: 0;
        left: 0;
        right: 0;
        padding: 1rem .5rem;
        display: flex;
        justify-content: space-between;
    }
    .video {
      min-height: 200px;
      background-color: #232323;
    }
    .video-info {
      .plank-header {
        display: flex;
        justify-content: space-between;
      }
      .plank-container {
          padding: .3rem .6rem;
          p {
            color: #232323;
            margin: 0;
          }
      }
      .plank-footer {
        padding: 0 .6rem .5rem; 
      }
    }
    .video-tool {
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
      div {
        background-color: white;
        padding: .25rem;
        width: 25%;
        p {
          margin: .25rem
        }
      }
    }

    .like {
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
      padding: 0 .6rem .5rem; 
      margin: .25rem 0;
      & :nth-child(1) {
        width: 30%;
        img {
          width: 100%;
        }
      }
      .info {
        width: 70%;
        display: flex;
        
      }
    }
}
</style>
